package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 告警设置对象 a_waring
 * 
 * @author ruoyi
 * @date 2024-04-10
 */
public class AWaring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long userId;

    /** 到期 */
    @Excel(name = "到期")
    private String expire;

    /** 闲置 */
    @Excel(name = "闲置")
    private String inidle;

    /** 异常 */
    @Excel(name = "异常")
    private String abnormal;

    /** 即将到期 */
    @Excel(name = "即将到期")
    private String aInidle;

    //长期无居住
    private String vacant;

    public String getVacant() {
        return vacant;
    }

    public void setVacant(String vacant) {
        this.vacant = vacant;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setExpire(String expire) 
    {
        this.expire = expire;
    }

    public String getExpire() 
    {
        return expire;
    }

    public String getInidle() {
        return inidle;
    }

    public void setInidle(String inidle) {
        this.inidle = inidle;
    }

    public void setAbnormal(String abnormal)
    {
        this.abnormal = abnormal;
    }

    public String getAbnormal() 
    {
        return abnormal;
    }
    public void setaInidle(String aInidle) 
    {
        this.aInidle = aInidle;
    }

    public String getaInidle() 
    {
        return aInidle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("expire", getExpire())
            .append("Inidle", getInidle())
            .append("abnormal", getAbnormal())
            .append("aInidle", getaInidle())
            .toString();
    }
}
